package com.atguigu.gulimall.ware.dao;

import com.atguigu.gulimall.ware.entity.WareInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 仓库信息
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2022-05-02 22:25:12
 */
@Mapper
public interface WareInfoDao extends BaseMapper<WareInfoEntity> {

    Long getMaxId();

    void saveWare(@Param("id") Long id, @Param("name") String name, @Param("address") String address, @Param("areaCode") String areaCode);
}
